<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/jquery-3.6.0.js" type="text/javascript"></script>
		<style type="text/css">
			div>span {
				font-size: 1.875rem;
/* 				color: green; */
			}
		</style>
	</head>
	<body>
		<div>
			<span>第一个span</span>
			<span>第二个span</span>
		</div>
		<script type="text/javascript">
			$('div > span').css("color", "green");
		</script>
	</body>
</html>
